package com.zhenmyan.secdeal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhenmyan.secdeal.pojo.Goods;
import com.zhenmyan.secdeal.vo.GoodsVo;

import java.util.List;

/**
 * description:
 *
 * @author 颜真明
 * @date 2023/5/11  6:53
 */
public interface GoodsService extends IService<Goods> {

    /**
     * 获取商品列表
     *
     * @return
     */
    List<GoodsVo> getGoodsVo();

    /**
     * 通过商品id获取商品信息
     *
     * @param goodsId
     * @return
     */
    GoodsVo getGoodsVoById(Long goodsId);

}
